package com.jzg.jcptadmin.data.vo;

import android.os.Parcel;
import android.os.Parcelable;

import com.jzg.jcptadmin.base.BaseActivity;

/**
 * Created by wangyd on 15/12/24.
 */
public class RapidEvaluator extends BaseActivity implements Parcelable{
    private String fullName;

    private int styleId;

    private String date;

    private String mileage;

    private String area;

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public String getMileage() {
        return mileage;
    }

    public void setMileage(String mileage) {
        this.mileage = mileage;
    }

    public int getStyleId() {
        return styleId;
    }

    public void setStyleId(int styleId) {
        this.styleId = styleId;
    }

    @Override
    public String toString() {
        return "RapidEvaluator{" +
                "area='" + area + '\'' +
                ", fullName='" + fullName + '\'' +
                ", styleId=" + styleId +
                ", date='" + date + '\'' +
                ", mileage='" + mileage + '\'' +
                '}';
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.fullName);
        dest.writeInt(this.styleId);
        dest.writeString(this.date);
        dest.writeString(this.mileage);
        dest.writeString(this.area);
    }

    public RapidEvaluator() {
    }

    protected RapidEvaluator(Parcel in) {
        this.fullName = in.readString();
        this.styleId = in.readInt();
        this.date = in.readString();
        this.mileage = in.readString();
        this.area = in.readString();
    }

    public static final Creator<RapidEvaluator> CREATOR = new Creator<RapidEvaluator>() {
        public RapidEvaluator createFromParcel(Parcel source) {
            return new RapidEvaluator(source);
        }

        public RapidEvaluator[] newArray(int size) {
            return new RapidEvaluator[size];
        }
    };
}
